package temp.model.information;
import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;


/**
 * 
 * 资讯信息
 * 
 **/
@SuppressWarnings("serial")
public class News implements Serializable {

	/**主键，自增**/
	private Integer id;

	/**新闻标题**/
	private String title;

	/**新闻正文**/
	private String content;

	/**新闻链接**/
	private String sourceUrl;

	/**新闻站点**/
	private String site;

	/**新闻发布时间**/
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private java.util.Date pubtime;

	/**新闻转载来源**/
	private String repub;

	/**新闻类别，是否头条等**/
	private Integer genus;

	/**事件关键词**/
	private String keywords;

	/**关键词id**/
	private Integer keywordsId;

	/**新闻正文图片，多个图片之间用"#"间隔**/
	private String picture;

	/**新闻插入时间**/
	private java.util.Date insertTime;

	/**站点模板id**/
	private Integer templateId;

	/**新闻模板频道id**/
	private Integer channelId;

	/**新闻语种,1：中文
            2：英文
            3：日文
            4：韩文
            5：俄语
            6：阿拉伯语
            7：藏文
            8：维文
            **/
	private Integer language;

	/**站点id,对应website_info表主键**/
	private Integer websiteId;

	/**新闻链接MD5值**/
	private String urlMd5;

	/**图片本地保存路径，多个图片之间用"#"间隔**/
	private String picpath;

	/**新闻作者，有的新闻没有**/
	private String author;

	/**网页快照**/
	private String snapshot;



	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setTitle(String title){
		this.title = title;
	}

	public String getTitle(){
		return this.title;
	}

	public void setContent(String content){
		this.content = content;
	}

	public String getContent(){
		return this.content;
	}

	public void setSourceUrl(String sourceUrl){
		this.sourceUrl = sourceUrl;
	}

	public String getSourceUrl(){
		return this.sourceUrl;
	}

	public void setSite(String site){
		this.site = site;
	}

	public String getSite(){
		return this.site;
	}

	public void setPubtime(java.util.Date pubtime){
		this.pubtime = pubtime;
	}

	public java.util.Date getPubtime(){
		return this.pubtime;
	}

	public void setRepub(String repub){
		this.repub = repub;
	}

	public String getRepub(){
		return this.repub;
	}

	public void setGenus(Integer genus){
		this.genus = genus;
	}

	public Integer getGenus(){
		return this.genus;
	}

	public void setKeywords(String keywords){
		this.keywords = keywords;
	}

	public String getKeywords(){
		return this.keywords;
	}

	public void setKeywordsId(Integer keywordsId){
		this.keywordsId = keywordsId;
	}

	public Integer getKeywordsId(){
		return this.keywordsId;
	}

	public void setPicture(String picture){
		this.picture = picture;
	}

	public String getPicture(){
		return this.picture;
	}

	public void setInsertTime(java.util.Date insertTime){
		this.insertTime = insertTime;
	}

	public java.util.Date getInsertTime(){
		return this.insertTime;
	}

	public void setTemplateId(Integer templateId){
		this.templateId = templateId;
	}

	public Integer getTemplateId(){
		return this.templateId;
	}

	public void setChannelId(Integer channelId){
		this.channelId = channelId;
	}

	public Integer getChannelId(){
		return this.channelId;
	}

	public void setLanguage(Integer language){
		this.language = language;
	}

	public Integer getLanguage(){
		return this.language;
	}

	public void setWebsiteId(Integer websiteId){
		this.websiteId = websiteId;
	}

	public Integer getWebsiteId(){
		return this.websiteId;
	}

	public void setUrlMd5(String urlMd5){
		this.urlMd5 = urlMd5;
	}

	public String getUrlMd5(){
		return this.urlMd5;
	}

	public void setPicpath(String picpath){
		this.picpath = picpath;
	}

	public String getPicpath(){
		return this.picpath;
	}

	public void setAuthor(String author){
		this.author = author;
	}

	public String getAuthor(){
		return this.author;
	}

	public void setSnapshot(String snapshot){
		this.snapshot = snapshot;
	}

	public String getSnapshot(){
		return this.snapshot;
	}

}
